http://www.smarty.net/forums/viewtopic.php?t=18281

{section name='i' loop=$items}
<div class="items"><a href="{$items[i].1}">{$items[i].0}</a></div>
{if $smarty.section.i.index_next%7==6}
	<br />
{/if}
{/section}